﻿@model Web.Entities.Channel

@{
    ViewBag.Title = "Edit";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutAdmin.cshtml";
}

    <div class="mytopmodel" >
        编缉模块：&nbsp;&nbsp;
    </div>

    <form method="post" id="myform" name="myform" action="@Url.Action("Edit")">
        <div class="maindiv">
            <table cellspacing="1" id="editTable" cellpadding="3" style=" ">

                <tr>
                    <td class="text">你目录：</td>
                    <td class="control">@Html.Raw(ViewBag.path)</td>
                </tr>

                <tr>
                    <td class="text">排序号：</td>
                    <td class="control"><input type="text" name="OrderID" value="@Model.OrderID" validate="digits:true" /> </td>
                </tr>
                
                <tr>
                    <td class="text">名称：</td>
                    <td class="control"><input type="text" name="Name" value="@Model.Name" validate="required:true" /> </td>
                </tr>

                <tr>
                    <td class="text">英文名称：</td>
                    <td class="control"><input type="text" name="ENName" value="@Model.ENName" validate="required:true" /> </td>
                </tr>
                
                <tr>
                    <td class="text" >是否显示：</td>
                    <td class="control">
                        <select name="Visible">
                        <option @(Model.Visible.Value?"selected":"") value="True" >显示</option>
                        <option @(!Model.Visible.Value?"selected":"") value="False" >隐藏</option>
                        </select> 
                    </td>
                </tr>
                
                <tr>
                    <td class="text" >是否可删：</td>
                    <td class="control">
                        <select name="AllowDelete">
                        <option @(Model.AllowDelete.Value?"selected":"") value="True" >可以</option>
                        <option @(!Model.AllowDelete.Value?"selected":"") value="False" >禁止</option>
                        </select> 
                     </td>
                </tr>

               <tr>
                    <td class="text" ></td>
                    <td colspan="2" class="control">
                       <input name="ID" type="hidden" value="@Model.ID" />
                       <div class="impBtn hMargin fLeft shadow" ><input type="submit" value="提交" onclick="" class="save imgButton" /></div>
                       <div class="impBtn hMargin fLeft shadow" ><input type="reset" value="清空" onclick="" class="reset imgButton" /></div>       
                       <a href="javascript:history.back(-1)" >[&nbsp;返回&nbsp;] </a>
                     </td>
                </tr>
            </table>
            
         
        </div>
   </form>
